package com.xiyan.base.utils;

/**
 * @program: shiro
 * @description: constant class
 * @author: ruiyanglee
 * @create: 2020-07-23 16:23
 **/
public class Constant {

    public static String PRIVATE_SALT = "74849043";
    public static String TOKEN = "token";
    //token到期时间60分钟，毫秒为单位
    public static final long EXPIRE_TIME = 60 * 60 * 1000;
    public static final String TOKEN_PREFIX = "auth:token:";
    /**
     * 测试缓存key
     */
    public static final String TEST_DEMO_CACHE = "test:demo";
}
